package cn.com.dhcc.turbo.entity.exch;

import java.io.Serializable;
import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiColumn.TYPE;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * 刻盘数据
 */
@SiTable(name = "TURBO_CARVED_DISCS_DATA")
public class CarvedDiscsData extends ModuleFeatureBean implements  Serializable {
	private static final long serialVersionUID = 1891670531486253359L;
	@SiColumn(name = "id", isId = true)
	private String id;//交换请求编号  ORDER_yyyymmddhhmiss_UUID_2_1
	@SiColumn(name="batch_id")
	private String batchId;//批次号 对应cmdata表中的pId
	
	@SiColumn(name = "SEND_NODECODE")
	private String sendNodecode;//发送节点编码
	
	@SiColumn(name = "SEND_ADAPTORCODE")
	private String sendAdaptorcode;//发送适配器
	
	@SiColumn(name = "RECV_NODECODE")
	private String recvNodecode;//接收节点编码
	
	@SiColumn(name = "RECV_ADAPTORCODE")
	private String recvAdaptorcode;//接收适配器
	
	@SiColumn(name = "SEND_BUSICODE")
	private String sendBusicode;//发送数据类型
	@SiColumn(name = "DATA_TYPE")
	private String dataType; //数据类型  ： 0：CM_DATA  1:SQL_DATA
	@SiColumn(name = "AUDIT_PERSON")
	private String auditPerson;//审核人
	
	@SiColumn(name="posthead",type=TYPE.CLOB)
	private String posthead;//头信息
	
	@SiColumn(type=TYPE.CLOB)
	private String filepaths;//附件上传的存储路径
	@SiColumn(type=TYPE.CLOB)
	private String storepaths;//附件在平台存储路径
	private String filehome;//附件文件存储路径 或 AppConst.CMDATA_STORED_DIR
	private Date requestDate;//交换请求时间
	private Long filesize;//附件大小
	private String status;//状态，0待刻盘 1 已刻盘
	
	@SiColumn(name = "zip_name")
	private String zipName;//打包成的zip名称
	
	@SiColumn(name = "zip_size")
	private Long zipSize;//打包成的zip的大小
	
	private String packets;//拆包后的名称,多个用逗号分隔
	@SiColumn(name = "packets_size")
	private String packetsSize;//拆包后的名称,多个用逗号分隔
	private Date carvedDate;//刻盘时间
	@SiColumn(name = "from_table")
	private String fromTable;//来自于哪张表 0 send表，recv表,tmp表
	
	public String getPacketsSize() {
		return packetsSize;
	}
	public void setPacketsSize(String packetsSize) {
		this.packetsSize = packetsSize;
	}
	public String getFromTable() {
		return fromTable;
	}
	public void setFromTable(String fromTable) {
		this.fromTable = fromTable;
	}
	public String getSendAdaptorcode() {
		return sendAdaptorcode;
	}
	public void setSendAdaptorcode(String sendAdaptorcode) {
		this.sendAdaptorcode = sendAdaptorcode;
	}
	public String getRecvAdaptorcode() {
		return recvAdaptorcode;
	}
	public void setRecvAdaptorcode(String recvAdaptorcode) {
		this.recvAdaptorcode = recvAdaptorcode;
	}
	public String getSendNodecode() {
		return sendNodecode;
	}
	public void setSendNodecode(String sendNodecode) {
		this.sendNodecode = sendNodecode;
	}
	
	public String getRecvNodecode() {
		return recvNodecode;
	}
	public void setRecvNodecode(String recvNodecode) {
		this.recvNodecode = recvNodecode;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBatchId() {
		return batchId;
	}
	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}
	public String getSendBusicode() {
		return sendBusicode;
	}
	public void setSendBusicode(String sendBusicode) {
		this.sendBusicode = sendBusicode;
	}
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public String getPosthead() {
		return posthead;
	}
	public void setPosthead(String posthead) {
		this.posthead = posthead;
	}
	public Long getFilesize() {
		return filesize;
	}
	public void setFilesize(Long filesize) {
		this.filesize = filesize;
	}
	public String getFilepaths() {
		return filepaths;
	}
	public void setFilepaths(String filepaths) {
		this.filepaths = filepaths;
	}
	public String getStorepaths() {
		return storepaths;
	}
	public void setStorepaths(String storepaths) {
		this.storepaths = storepaths;
	}
	public String getFilehome() {
		return filehome;
	}
	public void setFilehome(String filehome) {
		this.filehome = filehome;
	}
	public Date getRequestDate() {
		return requestDate;
	}
	public void setRequestDate(Date requestDate) {
		this.requestDate = requestDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	public Date getCarvedDate() {
		return carvedDate;
	}
	public void setCarvedDate(Date carvedDate) {
		this.carvedDate = carvedDate;
	}
	public String getAuditPerson() {
		return auditPerson;
	}
	public void setAuditPerson(String auditPerson) {
		this.auditPerson = auditPerson;
	}
	
	
	public String getZipName() {
		return zipName;
	}
	public void setZipName(String zipName) {
		this.zipName = zipName;
	}
	public String getPackets() {
		return packets;
	}
	public void setPackets(String packets) {
		this.packets = packets;
	}
	
	public Long getZipSize() {
		return zipSize;
	}
	public void setZipSize(Long zipSize) {
		this.zipSize = zipSize;
	}
	@Override
	public String toString() {
		return "CarvedDiscsData [id=" + id + ", batchId=" + batchId
				+ ", sendBusicode=" + sendBusicode + ", dataType=" + dataType
				+ ", auditPerson=" + auditPerson + ", posthead=" + posthead
				+ ", filepaths=" + filepaths + ", storepaths=" + storepaths
				+ ", filehome=" + filehome + ", requestDate=" + requestDate
				+ ", filesize=" + filesize + ", status=" + status
				+ ", carvedDate=" + carvedDate + "]";
	}
	
	
	
	
	
}
